<?php
/** @var yii\web\View $this */
use yii\helpers\Html;
use yii\helpers\Url;

$this->title = '模板';
$this->params['breadcrumbs'][] = $this->title;
?>
<?php $form = \yii\bootstrap\ActiveForm::begin() ?>
<div class="form-group">
    <label>openid</label>
    <?= Html::activeInput('text', $model, 'openid', ['class' => 'form-control']) ?>
</div>
<div class="form-group">
    <label>参数name</label>
    <?= Html::activeInput('text', $model, 'name', ['class' => 'form-control']) ?>
</div>
<div class="form-group">
    <label>参数content</label>
    <?= Html::activeTextarea($model, 'content', ['class' => 'form-control']) ?>
</div>
<div class="form-group">
    <button class="btn btn-primary">提交</button>
</div>
<?php $form->end() ?>
<pre>
    我的名字叫做{{name.DATA}} ，我发的消息内容是{{content.DATA}}
</pre>
